#include "stdafx.h"
#include "../Engine/LightManager.hpp"

namespace he
{
	LightManager::LightManager(Ogre::SceneManager &SceneManager)
		: m_SceneManager(SceneManager),
		m_pLight(m_SceneManager.createLight("MainLight"))
	{
		// Ambient light set
		m_SceneManager.setAmbientLight(Ogre::ColourValue(0.5f, 0.5f, 0.5f));
		// Set light properties
		m_pLight->setType(Ogre::Light::LT_DIRECTIONAL);
		m_pLight->setDirection(-.40f, -0.40f, -.60f);
		m_pLight->setQueryFlags(0);
	}
} /*he*/
